import { io } from 'socket.io-client';

export default {
  install: (
    app: any,
    { connection, options }: { connection: any; options: any },
  ) => {
    const socket = io(connection, options);
    app.provide('socket', socket);
  },
};
